/* $Id: ContactModelLocator.as 3 2007-02-15 21:39:58Z  $ */
package com.nagpals.contact.model{

 	import com.adobe.cairngorm.model.ModelLocator;
 	import com.nagpals.contact.vo.ContactVO;
 	
 	import mx.collections.ArrayCollection;

 	[Bindable]
	public class ContactModelLocator implements ModelLocator{
		
		private static var modelLocator : ContactModelLocator;
		public var contactVOList : ArrayCollection;
		public var contactVO : ContactVO;

		
		public static function getInstance() : ContactModelLocator{
			if ( modelLocator == null )
				modelLocator = new ContactModelLocator();
				
			return modelLocator;
	   }
	   
	   	public function ContactModelLocator(){
	   		contactVOList = new ArrayCollection;
	   	}
	   	
	}	
}

